<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

                    <%if (request.getSession().getAttribute("username") == null) {
            response.sendRedirect("login.jsp");
        }%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/clientTemplate.css">
        <title>Client Template</title>
    </head>
    <body>
        <center>
        <table id="tableClientTemplate">
            <tr id="headerClientTemplate">
                <td><%@include file="clientHeader.jsp" %></td>
            </tr>
            <tr id="middleClientTemplate">
                <td>



<center><form id="form1" name="form1" method="post" action="checkLogin">
  <table width="600" border="0">
    <tr>
      <td width="170" align="left">&nbsp;</td>
      <td width="420" align="left"><h2>Edit Profile Details</h2>
      </td>
    </tr>
    <tr>
      <td align="left"><strong>First name:</strong></td>
      <td align="left"><label for="txtfname"></label>
      <input type="text" name="txtfname" id="txtfname" /></td>
    </tr>
    <tr>
      <td align="left"><strong>Last name:</strong></td>
      <td align="left"><label for="txtlname"></label>
      <input type="text" name="txtlname" id="txtlname" /></td>
    </tr>
    <tr>
      <td align="left"><strong>Current password:</strong></td>
      <td align="left"><label for="txtcurpass"></label>
      <input type="text" name="txtcurpass" id="txtcurpass" /></td>
    </tr>
    <tr>
      <td align="left"><strong>New password:</strong></td>
      <td align="left"><label for="txtpassword"></label>
      <input type="password" name="txtpassword" id="txtpassword" /></td>
    </tr>
    <tr>
      <td align="left"><strong>Re-enter password:</strong></td>
      <td align="left"><label for="txtrepassword"></label>
      <input type="password" name="txtrepassword" id="txtrepassword" /></td>
    </tr>
    <tr>
      <td align="left"><strong>Gender:</strong></td>
      <td align="left"><p>
        <label>
          <input type="radio" name="RadioGroup1" value="rd1" id="RadioGroup1_0" />
          Male</label>
        <br />
        <label>
          <input type="radio" name="RadioGroup1" value="rd2" id="RadioGroup1_1" />
          Female</label>
        <br />
      </p></td>
    </tr>
    <tr>
      <td align="left"><strong>Address:</strong></td>
      <td align="left"><label for="txtaddress"></label>
        <textarea name="txtaddress" id="txtaddress" cols="45" rows="5"></textarea>        <label for="txtaddress"></label></td>
    </tr>
    <tr>
      <td align="left">&nbsp;</td>
      <td align="left"><input type="submit" name="submit" id="submit" value="Update" />
        <input type="reset" name="reset" id="reset" value="Reset" /></td>
    </tr>
  </table>
</form></center>

                </td>
            </tr>
            <tr id="footerClientTemplate">
                <td><%@include file="clientFooter.jsp" %></td>
            </tr>
        </table>
        </center>
    </body>
</html>